package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @NTLX data 2020 08 19
 */
public interface EmpMapper {
    int selectCountByDep(Integer depNum);

    List selectEmpByCondition(@Param("emp") Emp emp);

    List selectSinpleEmpByCondition(@Param("emp") Emp emp);

    Integer selectEmpDep(String empId);

    Emp selectEmpById(String empId);

    int updateEmpInfo(@Param("emp") Emp emp);
}
